package com.cloud.salon.common.base.entity.menber;

import com.cloud.salon.common.base.entity.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/*
 * @Description 顾客会员实体类
 * @Author wolf--LZH
 * @CreateDate 2019/4/18 0018 下午 3:49
 */
@Data
@Entity
@Table(name="account")
public class Account extends BaseEntity {

	// 顾客名称
	@Column(nullable = false, length = 50)
	private String name;
	// 会员卡号
	@Column(nullable = false, length = 50)
	private String number;
	// 账户余额
	private Double balance;
	// 会员注册时间
	@Column(nullable = false)
	private Date createTime;
}
